package com.fuluwa.interfaces.usercenter.facade;

import java.util.Map;

import com.fuluwa.domain.usercenter.model.Contact;
import com.fuluwa.domain.usercenter.model.UserBasicInfo;
import com.fuluwa.infra.exception.PersistenceException;

public interface UserServiceFacade {
	void registerUser(UserDTO userDTO) throws PersistenceException;

	boolean checkUserByLoginName(String loginName);

	// void createUser();

	String getUserNo(String loginName);

	void updateContact(String userNo, Contact contact) throws PersistenceException;
	void updateUserBasicInfo(String userNo,  UserBasicInfo userBasicInfo) throws PersistenceException;

	void changeUserPassword(String loginName, String oldPassword, String newPassword) throws PersistenceException;

	public Map<String,Object> getLists();
	// void updateUserAttribute();

	public abstract String get(Long[] material, Long level);

	// void addUserDefineElement();

	// void updateUserDefineElement();

	// void deleteUserDefineElement();

	// void fetchUserDefineElement();
}
